//
//  HWPersonalInformationModel.m
//  嗨文
//
//  Created by 响当当 on 4/1/19.
//  Copyright © 2019 dongzheng. All rights reserved.
//

#import "HWPersonalInformationModel.h"

@implementation HWPersonalInformationModel
- (id)initWithDic:(NSDictionary *)dic
{
    if (self = [super init])
    {
        self.area = IFNULL(dic[@"area"], [NSString string]);
        self.realName = IFNULL(dic[@"realName"], [NSString string]);
        self.wxaccount = IFNULL(dic[@"wxaccount"], [NSString string]);
        self.phoneNum = IFNULL(dic[@"phoneNum"], [NSString string]);
        self.userId = IFNULL(dic[@"userId"], [NSNumber new]);
        self.alipayAccount = IFNULL(dic[@"alipayAccount"], [NSString string]);
        self.gender = IFNULL(dic[@"gender"], [NSNumber new]);
        self.automaticDeduction = IFNULL(dic[@"automaticDeduction"], [NSNumber new]);

    }
    return self;
}
@end
